package com.zc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zc.entities.Storage;
import org.apache.ibatis.annotations.Param;

public interface StorageMapper extends BaseMapper<Storage> {
    // 扣减库存
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
